ExamPlay Dark Logo
Đăng nhập

Computer Science for IGCSE & O level - Data Representation (Section 16 - No. 14)

How does two's complement representation handle negative numbers?
By using a leading '1' for positive numbers and a leading '0' for negative numbers.
By inverting all the bits of the positive counterpart.
By inverting all the bits and adding 1 to the result.
By using a separate sign bit.

Giải thích

Two's complement inverts the bits and adds 1 to the binary representation of a positive number to obtain its negative equivalent.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc